package com.fc.mall.portal.dao;

import com.fc.mall.portal.domain.BargainParam;
import com.fc.mall.portal.domain.BargainProduct;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by sunny on 2019/9/9.
 */
public interface BargainProductDao {
    List<BargainProduct> queryList(@Param("bargainParam") BargainParam bargainParam, @Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize);

    List<BargainProduct> queryListByPromotionId(@Param("promotionId") Long promotionId);
}
